package com.dslcode.cloud.common.model.goods;

import com.dslcode.cloud.common.model.BaseModel;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Created by dongsilin on 2017/9/21.
 */
@Data
public class GoodsCommon extends BaseModel {

    private String name;
    private Integer typeId; // 类型id
    private String image;
    private String body; // 商品内容
    private Integer state; // 商品状态 0下架，1正常，10违规（禁售）
    private Integer addTime; // 商品添加时间
    private Integer sellTime; // 上架时间
    private BigDecimal price;
    private BigDecimal freight;
    private Integer storage;
    private Integer clickNum;
    private Integer saleNum;
    private Boolean show;// 是否显示

}
